package day9;

public class ComputerTest {
    public static void main(String[] args) {
        Computer computer=new Computer();
        System.out.println("计算机：");
        String brand=computer.brand();
        String zhuPing=computer.zhuPing();
        System.out.println("CPU品牌："+brand+"，主频："+zhuPing);
        String type=computer.type();
        String rongLiang=computer.rongLiang();
        System.out.println("类型是："+type+"，内存容量："+rongLiang);
        String rongLiang1=computer.rongLiang1();
        System.out.println("硬盘容量："+rongLiang1);
    }
}
